/**
 * 
 */
package org.waddy.framework.app.web.struts;

import org.waddy.framework.app.web.struts.PageGridActionForm;

/**
 * @Title PageGridExtActionForm.java
 * @version 1.0
 * @author zhangdapeng
 * @Created 2013-8-15（日本战败日）
 * Copyright (c) 2013 PanGene InfoAnalytics.
 *
 * @Description: 扩展对extjs分页组件的支持
 */
public class PageGridExtActionForm extends PageGridActionForm {
	private static final long serialVersionUID = 3271849101606374300L;
	
	private Integer start = -1;
	
	private Integer limit = 10;
	
	private String query; //查询字符串
	
	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
		this.getPagInfo().setRp(this.getLimit());
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
		this.getPagInfo().setQuery(query);
	}

}
